package com.yimu.system.domain;

import java.util.List;
import java.util.Date;
import com.yimu.common.annotation.Excel;
import com.yimu.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 设备记录对象 device_compressormode_info
 * 
 * @author Christine
 * @date 2020-08-26
 */
public class DeviceCompressormodeInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键Id */
    @Excel(name = "主键Id")
    private Long Id;

    /** 代理商Id */
    private Long agentId;

    /** 温度 */
    @Excel(name = "温度")
    private String Temperature;

    /** 温差 */
    @Excel(name = "温差")
    private String errorTemperature;

    /** 开始时间 */
    @Excel(name = "开始时间")
    private String startTime;

    /** 结束时间 */
    @Excel(name = "结束时间")
    private String endTime;

    /** 压缩机模式 */
    @Excel(name = "压缩机模式")
    private String compressorMode;

    /** 设备号 */
    @Excel(name = "设备号")
    private String deviceNum;

    /** 此列更新时间 */
    @Excel(name = "此列更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date newDate;

    /** 终端列表信息 */
    private List<Devices> devicesList;

    public void setId(Long Id) 
    {
        this.Id = Id;
    }

    public Long getId() 
    {
        return Id;
    }
    public void setAgentId(Long agentId) 
    {
        this.agentId = agentId;
    }

    public Long getAgentId() 
    {
        return agentId;
    }
    public void setTemperature(String Temperature) 
    {
        this.Temperature = Temperature;
    }

    public String getTemperature() 
    {
        return Temperature;
    }
    public void setErrorTemperature(String errorTemperature) 
    {
        this.errorTemperature = errorTemperature;
    }

    public String getErrorTemperature() 
    {
        return errorTemperature;
    }
    public void setStartTime(String startTime) 
    {
        this.startTime = startTime;
    }

    public String getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(String endTime) 
    {
        this.endTime = endTime;
    }

    public String getEndTime() 
    {
        return endTime;
    }
    public void setCompressorMode(String compressorMode) 
    {
        this.compressorMode = compressorMode;
    }

    public String getCompressorMode() 
    {
        return compressorMode;
    }
    public void setDeviceNum(String deviceNum) 
    {
        this.deviceNum = deviceNum;
    }

    public String getDeviceNum() 
    {
        return deviceNum;
    }
    public void setNewDate(Date newDate) 
    {
        this.newDate = newDate;
    }

    public Date getNewDate() 
    {
        return newDate;
    }

    public List<Devices> getDevicesList()
    {
        return devicesList;
    }

    public void setDevicesList(List<Devices> devicesList)
    {
        this.devicesList = devicesList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("Id", getId())
            .append("agentId", getAgentId())
            .append("Temperature", getTemperature())
            .append("errorTemperature", getErrorTemperature())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("compressorMode", getCompressorMode())
            .append("deviceNum", getDeviceNum())
            .append("newDate", getNewDate())
            .append("devicesList", getDevicesList())
            .toString();
    }
}
